<template>
  <div>
    <h3>Item组件</h3>
    <p v-if="id === '001'">CS简介</p>
    <p v-if="id === '002'">DNF简介</p>
    <p v-if="id === '003'">LOL简介</p>
    <div>id:{{ id }}--title:{{ title }}</div>
  </div>
</template>

<script>
export default {
  name: 'Item',
  data() {
    return {
      paramsId: '',
    };
  },
  props: ['id', 'title'],
};
</script>

<style></style>
